<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Java API Reference for Android: com.juphoon.cloud.JCMediaChannelCallback Interface Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Java API Reference for Android
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>com</b></li><li class="navelem"><b>juphoon</b></li><li class="navelem"><b>cloud</b></li><li class="navelem"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html">JCMediaChannelCallback</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">com.juphoon.cloud.JCMediaChannelCallback Interface Reference<div class="ingroups"><a class="el" href="group___xE5_xAA_x92_xE4_xBD_x93_xE9_xA2_x91_xE9_x81_x93_xE6_xA8_xA1_xE5_x9D_x97.html">媒体频道模块</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a449d20d84531222a3a142784832dc8ce"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#a449d20d84531222a3a142784832dc8ce">onMediaChannelStateChange</a> (@JCMediaChannel.MediaChannelState int state, @JCMediaChannel.MediaChannelState int oldState)</td></tr>
<tr class="separator:a449d20d84531222a3a142784832dc8ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3daf76ff45ad17429a6368635f58ada"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#af3daf76ff45ad17429a6368635f58ada">onMediaChannelPropertyChange</a> (JCMediaChannel.PropChangeParam propChangeParam)</td></tr>
<tr class="separator:af3daf76ff45ad17429a6368635f58ada"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1140260778c295fb4ef221d1f5628547"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#a1140260778c295fb4ef221d1f5628547">onJoin</a> (boolean result, @JCMediaChannel.MediaChannelReason int reason, String channelId)</td></tr>
<tr class="separator:a1140260778c295fb4ef221d1f5628547"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a401e65e86af16582226270c10dcd68e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#a401e65e86af16582226270c10dcd68e6">onLeave</a> (@JCMediaChannel.MediaChannelReason int reason, String channelId)</td></tr>
<tr class="separator:a401e65e86af16582226270c10dcd68e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a828fbbf024c39568ae41b1bf4471023b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#a828fbbf024c39568ae41b1bf4471023b">onStop</a> (boolean result, @JCMediaChannel.MediaChannelReason int reason)</td></tr>
<tr class="separator:a828fbbf024c39568ae41b1bf4471023b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a1c787a810c33a9c9dd989280456e89"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#a7a1c787a810c33a9c9dd989280456e89">onQuery</a> (int operationId, boolean result, @JCMediaChannel.MediaChannelReason int reason, <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_query_info.html">JCMediaChannelQueryInfo</a> queryInfo)</td></tr>
<tr class="separator:a7a1c787a810c33a9c9dd989280456e89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6ec3fda93775f7ea6da4b616d47a903"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#ad6ec3fda93775f7ea6da4b616d47a903">onParticipantJoin</a> (<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> participant)</td></tr>
<tr class="separator:ad6ec3fda93775f7ea6da4b616d47a903"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab3b68a6cf75c96ca94a7434b675eb6a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#aab3b68a6cf75c96ca94a7434b675eb6a">onParticipantLeft</a> (<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> participant)</td></tr>
<tr class="separator:aab3b68a6cf75c96ca94a7434b675eb6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4537db9e65ece9322b5a89ccab087ac8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#a4537db9e65ece9322b5a89ccab087ac8">onParticipantUpdate</a> (<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> participant, JCMediaChannelParticipant.ChangeParam changeParam)</td></tr>
<tr class="separator:a4537db9e65ece9322b5a89ccab087ac8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdb30c050d271605b14fab9b63ee63c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#afdb30c050d271605b14fab9b63ee63c4">onMessageReceive</a> (String type, String content, String fromUserId)</td></tr>
<tr class="separator:afdb30c050d271605b14fab9b63ee63c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaae8ac9c5070f247b07c3b3880e8ed17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#aaae8ac9c5070f247b07c3b3880e8ed17">onInviteSipUserResult</a> (int operationId, boolean result, @JCMediaChannel.MediaChannelReason int reason)</td></tr>
<tr class="separator:aaae8ac9c5070f247b07c3b3880e8ed17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16680913fe7305b850286d9cbeb4d18f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#a16680913fe7305b850286d9cbeb4d18f">onParticipantVolumeChange</a> (<a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> participant)</td></tr>
<tr class="separator:a16680913fe7305b850286d9cbeb4d18f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html">JCMediaChannelCallback</a> 对象，用于回调媒体频道相关事件 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a449d20d84531222a3a142784832dc8ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a449d20d84531222a3a142784832dc8ce">&#9670;&nbsp;</a></span>onMediaChannelStateChange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onMediaChannelStateChange </td>
          <td>(</td>
          <td class="paramtype">@JCMediaChannel.MediaChannelState int&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@JCMediaChannel.MediaChannelState int&#160;</td>
          <td class="paramname"><em>oldState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>自身频道状态变化回调</p>
<p>状态：</p><ul>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#a6eaecefcaea88c6c8ea8d9336a60e7ea">STATE_IDLE</a>: 空闲状态</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#a5d68ee8db5341306eff41b2f772b00f0">STATE_JOINING</a>: 加入中</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#a5f613632d51af563a1e3c74fcee98010">STATE_JOINED</a>: 已加入</li>
<li><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#ae083cbe332d695443afd80147d9e592f">STATE_LEAVING</a>: 离开中</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">state</td><td>当前状态 </td></tr>
    <tr><td class="paramname">oldState</td><td>变化前状态 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af3daf76ff45ad17429a6368635f58ada"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3daf76ff45ad17429a6368635f58ada">&#9670;&nbsp;</a></span>onMediaChannelPropertyChange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onMediaChannelPropertyChange </td>
          <td>(</td>
          <td class="paramtype">JCMediaChannel.PropChangeParam&#160;</td>
          <td class="paramname"><em>propChangeParam</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>属性变化回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">propChangeParam</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_1_1_prop_change_param.html">JCMediaChannel.PropChangeParam</a> 变化标识集合 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a1140260778c295fb4ef221d1f5628547"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1140260778c295fb4ef221d1f5628547">&#9670;&nbsp;</a></span>onJoin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onJoin </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@JCMediaChannel.MediaChannelReason int&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>channelId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>加入频道结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>加入频道是否成功<ul>
<li>true：成功</li>
<li>false：失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>加入失败原因，当 result 为 false 时该值有效。失败原因参见：<a class="el" href="group__error.html#gae3e2a1e84090cc9c8278c00de2d7e655">JCMediaChannel 错误码</a> </td></tr>
    <tr><td class="paramname">channelId</td><td>频道标识符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a401e65e86af16582226270c10dcd68e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a401e65e86af16582226270c10dcd68e6">&#9670;&nbsp;</a></span>onLeave()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onLeave </td>
          <td>(</td>
          <td class="paramtype">@JCMediaChannel.MediaChannelReason int&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>channelId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>离开频道结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">reason</td><td>离开原因，参见：<a class="el" href="group__error.html#gae3e2a1e84090cc9c8278c00de2d7e655">JCMediaChannel 离开原因</a> </td></tr>
    <tr><td class="paramname">channelId</td><td>频道标识符 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a828fbbf024c39568ae41b1bf4471023b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a828fbbf024c39568ae41b1bf4471023b">&#9670;&nbsp;</a></span>onStop()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onStop </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@JCMediaChannel.MediaChannelReason int&#160;</td>
          <td class="paramname"><em>reason</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>解散频道结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>解散频道是否成功<ul>
<li>true：成功</li>
<li>false：失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>解散失败原因，当 result 为 false 时该值有效。失败原因参见：<a class="el" href="group__error.html#gae3e2a1e84090cc9c8278c00de2d7e655">JCMediaChannel 失败原因</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7a1c787a810c33a9c9dd989280456e89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a1c787a810c33a9c9dd989280456e89">&#9670;&nbsp;</a></span>onQuery()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onQuery </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@JCMediaChannel.MediaChannelReason int&#160;</td>
          <td class="paramname"><em>reason</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_query_info.html">JCMediaChannelQueryInfo</a>&#160;</td>
          <td class="paramname"><em>queryInfo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>查询频道信息结果回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作id，由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#a36951e9695e252e544896a97406a838e">query</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>查询频道信息是否成功<ul>
<li>true：查询成功</li>
<li>false：查询失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>查询失败原因，当 result 为 false 时该值有效。失败原因参见：<a class="el" href="group__error.html#gae3e2a1e84090cc9c8278c00de2d7e655">JCMediaChannel 错误码</a> </td></tr>
    <tr><td class="paramname">queryInfo</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_query_info.html">JCMediaChannelQueryInfo</a> 对象，查询到的频道信息，当失败时只需关注 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_query_info.html#af3e0f0515716e97c9f39048a47e7ebf5">getChannelId</a> 获取的 channelId </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ad6ec3fda93775f7ea6da4b616d47a903"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6ec3fda93775f7ea6da4b616d47a903">&#9670;&nbsp;</a></span>onParticipantJoin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onParticipantJoin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td>
          <td class="paramname"><em>participant</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>新成员加入回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 成员对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aab3b68a6cf75c96ca94a7434b675eb6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aab3b68a6cf75c96ca94a7434b675eb6a">&#9670;&nbsp;</a></span>onParticipantLeft()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onParticipantLeft </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td>
          <td class="paramname"><em>participant</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>成员离开回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 成员对象 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4537db9e65ece9322b5a89ccab087ac8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4537db9e65ece9322b5a89ccab087ac8">&#9670;&nbsp;</a></span>onParticipantUpdate()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onParticipantUpdate </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td>
          <td class="paramname"><em>participant</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">JCMediaChannelParticipant.ChangeParam&#160;</td>
          <td class="paramname"><em>changeParam</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>成员更新回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 成员对象 </td></tr>
    <tr><td class="paramname">changeParam</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant_1_1_change_param.html">JCMediaChannelParticipant.ChangeParam</a> 更新标识类 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afdb30c050d271605b14fab9b63ee63c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdb30c050d271605b14fab9b63ee63c4">&#9670;&nbsp;</a></span>onMessageReceive()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onMessageReceive </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>content</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>fromUserId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>接收频道消息的回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>消息类型，对应 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#a9dad808ba5781679ba39e07cf7b01ec8">sendMessage</a> 方法中的 type 参数 </td></tr>
    <tr><td class="paramname">content</td><td>消息内容，对应 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#a9dad808ba5781679ba39e07cf7b01ec8">sendMessage</a> 方法中的 content 参数 </td></tr>
    <tr><td class="paramname">fromUserId</td><td>消息发送成员的userId </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aaae8ac9c5070f247b07c3b3880e8ed17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaae8ac9c5070f247b07c3b3880e8ed17">&#9670;&nbsp;</a></span>onInviteSipUserResult()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onInviteSipUserResult </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>operationId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">@JCMediaChannel.MediaChannelReason int&#160;</td>
          <td class="paramname"><em>reason</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>邀请Sip用户操作结果回调</p>
<p>成功后会触发 <a class="el" href="interfacecom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_callback.html#ad6ec3fda93775f7ea6da4b616d47a903">onParticipantJoin</a> 回调</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">operationId</td><td>操作id，由 <a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel.html#a4d1aae53d998cf56d1a1559559c70cce">inviteSipUser</a> 接口返回 </td></tr>
    <tr><td class="paramname">result</td><td>邀请用户是否成功<ul>
<li>true：成功</li>
<li>false：失败 </li>
</ul>
</td></tr>
    <tr><td class="paramname">reason</td><td>失败原因，当 result 为 false 时该值有效。失败原因参见：<a class="el" href="group__error.html#gae3e2a1e84090cc9c8278c00de2d7e655">JCMediaChannel 错误码</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a16680913fe7305b850286d9cbeb4d18f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16680913fe7305b850286d9cbeb4d18f">&#9670;&nbsp;</a></span>onParticipantVolumeChange()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void com.juphoon.cloud.JCMediaChannelCallback.onParticipantVolumeChange </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a>&#160;</td>
          <td class="paramname"><em>participant</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>成员声音变化</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">participant</td><td><a class="el" href="classcom_1_1juphoon_1_1cloud_1_1_j_c_media_channel_participant.html">JCMediaChannelParticipant</a> 变化成员 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this interface was generated from the following file:<ul>
<li>cloud/src/main/mediachannel/com/juphoon/cloud/JCMediaChannelCallback.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
